home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15555 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 75 6d | 62 63 38 2e 75 6d 62 63 |Path: um|bc8.umbc|
|00000010| 2e 65 64 75 21 70 6a 61 | 63 6b 73 31 0a 46 72 6f |.edu!pja|cks1.Fro|
|00000020| 6d 3a 20 50 65 74 65 72 | 20 4a 61 63 6b 73 6f 6e |m: Peter| Jackson|
|00000030| 20 3c 70 6a 61 63 6b 73 | 31 40 67 6c 2e 75 6d 62 | <pjacks|1@gl.umb|
|00000040| 63 2e 65 64 75 3e 0a 4e | 65 77 73 67 72 6f 75 70 |c.edu>.N|ewsgroup|
|00000050| 73 3a 20 63 6f 6d 70 2e | 6c 61 6e 67 2e 6a 61 76 |s: comp.|lang.jav|
|00000060| 61 2c 63 6f 6d 70 2e 6c | 61 6e 67 2e 63 2b 2b 2c |a,comp.l|ang.c++,|
|00000070| 63 6f 6d 70 2e 6c 61 6e | 67 2e 73 6d 61 6c 6c 74 |comp.lan|g.smallt|
|00000080| 61 6c 6b 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |alk.Subj|ect: Re:|
|00000090| 20 57 69 6c 6c 20 4a 61 | 76 61 20 6b 69 6c 6c 20 | Will Ja|va kill |
|000000a0| 43 2b 2b 3f 0a 44 61 74 | 65 3a 20 46 72 69 2c 20 |C++?.Dat|e: Fri, |
|000000b0| 35 20 41 70 72 20 31 39 | 39 36 20 31 37 3a 31 38 |5 Apr 19|96 17:18|
|000000c0| 3a 34 39 20 2d 30 35 30 | 30 0a 4f 72 67 61 6e 69 |:49 -050|0.Organi|
|000000d0| 7a 61 74 69 6f 6e 3a 20 | 55 6e 69 76 65 72 73 69 |zation: |Universi|
|000000e0| 74 79 20 6f 66 20 4d 61 | 72 79 6c 61 6e 64 2c 20 |ty of Ma|ryland, |
|000000f0| 42 61 6c 74 69 6d 6f 72 | 65 20 43 6f 75 6e 74 79 |Baltimor|e County|
|00000100| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 50 69 |.Message|-ID: <Pi|
|00000110| 6e 65 2e 53 47 49 2e 33 | 2e 39 31 2e 39 36 30 34 |ne.SGI.3|.91.9604|
|00000120| 30 35 31 37 30 34 33 38 | 2e 32 31 37 34 39 41 2d |05170438|.21749A-|
|00000130| 31 30 30 30 30 30 40 75 | 6d 62 63 38 2e 75 6d 62 |100000@u|mbc8.umb|
|00000140| 63 2e 65 64 75 3e 0a 52 | 65 66 65 72 65 6e 63 65 |c.edu>.R|eference|
|00000150| 73 3a 20 3c 33 31 33 34 | 44 34 39 39 2e 36 35 33 |s: <3134|D499.653|
|00000160| 45 40 69 78 2e 6e 65 74 | 63 6f 6d 2e 63 6f 6d 3e |E@ix.net|com.com>|
|00000170| 20 3c 33 31 35 42 46 42 | 31 36 2e 42 37 34 40 69 | <315BFB|16.B74@i|
|00000180| 73 67 2e 64 65 3e 20 3c | 34 6a 67 76 36 74 24 68 |sg.de> <|4jgv6t$h|
|00000190| 6f 6e 40 6b 61 64 61 74 | 68 2e 7a 65 69 74 67 65 |on@kadat|h.zeitge|
|000001a0| 69 73 74 2e 6e 65 74 3e | 20 3c 34 6b 33 63 64 6f |ist.net>| <4k3cdo|
|000001b0| 24 6e 70 35 40 74 61 75 | 72 75 73 2e 61 64 6e 63 |$np5@tau|rus.adnc|
|000001c0| 2e 63 6f 6d 3e 20 3c 44 | 70 45 4a 6e 75 2e 44 44 |.com> <D|pEJnu.DD|
|000001d0| 4c 40 6e 65 77 73 2e 68 | 61 77 61 69 69 2e 65 64 |L@news.h|awaii.ed|
|000001e0| 75 3e 0a 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |u>.NNTP-|Posting-|
|000001f0| 48 6f 73 74 3a 20 75 6d | 62 63 38 2e 75 6d 62 63 |Host: um|bc8.umbc|
|00000200| 2e 65 64 75 0a 4d 69 6d | 65 2d 56 65 72 73 69 6f |.edu.Mim|e-Versio|
|00000210| 6e 3a 20 31 2e 30 0a 43 | 6f 6e 74 65 6e 74 2d 54 |n: 1.0.C|ontent-T|
|00000220| 79 70 65 3a 20 54 45 58 | 54 2f 50 4c 41 49 4e 3b |ype: TEX|T/PLAIN;|
|00000230| 20 63 68 61 72 73 65 74 | 3d 55 53 2d 41 53 43 49 | charset|=US-ASCI|
|00000240| 49 0a 4e 4e 54 50 2d 50 | 6f 73 74 69 6e 67 2d 55 |I.NNTP-P|osting-U|
|00000250| 73 65 72 3a 20 70 6a 61 | 63 6b 73 31 0a 58 2d 53 |ser: pja|cks1.X-S|
|00000260| 65 6e 64 65 72 3a 20 70 | 6a 61 63 6b 73 31 40 75 |ender: p|jacks1@u|
|00000270| 6d 62 63 38 2e 75 6d 62 | 63 2e 65 64 75 0a 49 6e |mbc8.umb|c.edu.In|
|00000280| 2d 52 65 70 6c 79 2d 54 | 6f 3a 20 3c 44 70 45 4a |-Reply-T|o: <DpEJ|
|00000290| 6e 75 2e 44 44 4c 40 6e | 65 77 73 2e 68 61 77 61 |nu.DDL@n|ews.hawa|
|000002a0| 69 69 2e 65 64 75 3e 20 | 0a 0a 4f 6e 20 46 72 69 |ii.edu> |..On Fri|
|000002b0| 2c 20 35 20 41 70 72 20 | 31 39 39 36 2c 20 50 65 |, 5 Apr |1996, Pe|
|000002c0| 74 65 72 20 48 69 6e 65 | 6c 79 20 77 72 6f 74 65 |ter Hine|ly wrote|
|000002d0| 3a 0a 0a 3e 20 54 68 61 | 74 20 76 65 72 79 20 77 |:..> Tha|t very w|
|000002e0| 65 6c 6c 20 6d 61 79 20 | 62 65 2c 20 62 75 74 20 |ell may |be, but |
|000002f0| 49 20 74 68 69 6e 6b 20 | 63 6f 6d 70 75 74 65 72 |I think |computer|
|00000300| 20 73 63 69 65 6e 63 65 | 20 64 65 70 61 72 74 65 | science| departe|
|00000310| 20 64 65 70 61 72 74 6d | 65 6e 74 73 0a 3e 20 61 | departm|ents.> a|
|00000320| 72 65 20 72 65 6c 61 74 | 69 76 65 6c 79 20 63 6f |re relat|ively co|
|00000330| 6e 73 65 72 76 61 74 69 | 76 65 20 69 6e 20 74 68 |nservati|ve in th|
|00000340| 65 69 72 20 63 68 6f 69 | 63 65 20 6f 66 20 74 65 |eir choi|ce of te|
|00000350| 61 63 68 69 6e 67 20 6c | 61 6e 67 75 61 67 65 73 |aching l|anguages|
|00000360| 2c 20 61 6e 64 0a 3e 20 | 74 61 6b 65 20 71 75 69 |, and.> |take qui|
|00000370| 74 65 20 61 20 77 68 69 | 6c 65 20 74 6f 20 61 64 |te a whi|le to ad|
|00000380| 6f 70 74 20 61 20 6e 65 | 77 20 74 65 61 63 68 69 |opt a ne|w teachi|
|00000390| 6e 67 20 6c 61 6e 67 75 | 61 67 65 2e 20 20 57 68 |ng langu|age. Wh|
|000003a0| 6f 20 6b 6e 6f 77 73 2e | 2e 2e 20 62 79 20 74 68 |o knows.|.. by th|
|000003b0| 65 0a 3e 20 74 69 6d 65 | 20 4a 61 76 61 20 69 73 |e.> time| Java is|
|000003c0| 20 61 20 6d 61 69 6e 73 | 74 72 65 61 6d 20 6c 61 | a mains|tream la|
|000003d0| 6e 67 75 61 67 65 20 75 | 73 65 64 20 69 6e 20 43 |nguage u|sed in C|
|000003e0| 53 20 63 6f 75 72 73 65 | 73 2c 20 74 68 65 72 65 |S course|s, there|
|000003f0| 20 6d 61 79 20 62 65 20 | 6f 74 68 65 72 0a 3e 20 | may be |other.> |
|00000400| 6e 65 77 65 72 20 6c 61 | 6e 67 75 61 67 65 73 20 |newer la|nguages |
|00000410| 74 68 61 74 20 61 72 65 | 20 74 68 65 20 22 68 6f |that are| the "ho|
|00000420| 74 2d 74 68 69 6e 67 22 | 2e 20 0a 0a 46 75 6e 6e |t-thing"|. ..Funn|
|00000430| 79 2e 20 4d 79 20 43 20 | 69 6e 73 74 72 75 63 6f |y. My C |instruco|
|00000440| 72 20 61 6c 77 61 79 73 | 20 74 61 6c 6b 73 20 61 |r always| talks a|
|00000450| 62 6f 75 74 20 68 6f 77 | 20 6d 75 63 68 20 43 20 |bout how| much C |
|00000460| 61 6e 64 20 43 2b 2b 20 | 73 75 63 6b 2e 20 28 48 |and C++ |suck. (H|
|00000470| 69 6d 20 0a 6e 6f 74 20 | 6d 65 2e 29 20 20 48 65 |im .not |me.) He|
|00000480| 20 61 6c 73 6f 20 73 61 | 79 73 20 74 68 61 74 20 | also sa|ys that |
|00000490| 77 65 20 73 68 6f 75 6c | 64 20 66 6f 72 67 65 74 |we shoul|d forget|
|000004a0| 20 43 20 61 73 20 73 6f | 6f 6e 20 61 73 20 77 65 | C as so|on as we|
|000004b0| 20 6c 65 61 76 65 20 74 | 68 65 20 0a 63 6c 61 73 | leave t|he .clas|
|000004c0| 73 20 62 65 63 61 75 73 | 65 20 22 74 68 65 72 65 |s becaus|e "there|
|000004d0| 20 61 72 65 20 62 65 74 | 74 65 72 20 74 68 69 6e | are bet|ter thin|
|000004e0| 67 73 20 63 6f 6d 69 6e | 67 22 2e 20 53 61 6d 65 |gs comin|g". Same|
|000004f0| 20 67 75 79 20 61 6c 73 | 6f 20 74 65 61 63 68 65 | guy als|o teache|
|00000500| 73 20 0a 6c 69 73 74 73 | 20 77 69 74 68 6f 75 74 |s .lists| without|
|00000510| 20 65 76 65 72 20 6d 65 | 6e 74 69 6f 6e 69 6e 67 | ever me|ntioning|
|00000520| 20 70 6f 69 6e 74 65 72 | 73 2c 20 75 73 69 6e 67 | pointer|s, using|
|00000530| 20 6e 6f 6e 20 64 65 73 | 74 72 75 63 74 69 76 65 | non des|tructive|
|00000540| 20 6c 69 73 74 20 0a 6f | 70 65 72 61 74 69 6f 6e | list .o|peration|
|00000550| 73 2e 0a 0a 3e 20 3e 62 | 65 63 61 75 73 65 20 69 |s...> >b|ecause i|
|00000560| 74 20 69 73 20 28 4a 61 | 76 61 29 20 74 68 65 20 |t is (Ja|va) the |
|00000570| 62 65 73 74 20 65 78 61 | 6d 70 6c 65 20 6f 66 20 |best exa|mple of |
|00000580| 77 68 61 74 20 61 20 70 | 72 6f 67 72 61 6d 6d 69 |what a p|rogrammi|
|00000590| 6e 67 20 6c 61 6e 67 75 | 61 67 65 20 73 68 6f 75 |ng langu|age shou|
|000005a0| 6c 64 0a 3e 20 3e 62 65 | 2e 20 20 0a 3e 20 0a 3e |ld.> >be|. .> .>|
|000005b0| 20 50 75 68 2d 6c 65 61 | 73 65 21 0a 0a 4f 4b 2e | Puh-lea|se!..OK.|
|000005c0| 20 42 75 74 20 6f 6e 6c | 79 20 62 65 63 61 75 73 | But onl|y becaus|
|000005d0| 65 20 79 6f 75 20 73 61 | 69 64 20 70 6c 65 61 73 |e you sa|id pleas|
|000005e0| 65 2e 0a 0a 3e 20 57 68 | 61 74 20 61 62 6f 75 74 |e...> Wh|at about|
|000005f0| 20 6d 75 6c 74 69 70 6c | 65 20 69 6e 68 65 72 69 | multipl|e inheri|
|00000600| 74 61 6e 63 65 3f 20 20 | 0a 0a 46 72 6f 6d 20 74 |tance? |..From t|
|00000610| 68 65 20 77 68 69 74 65 | 20 70 61 70 65 72 20 6f |he white| paper o|
|00000620| 6e 20 4a 61 76 61 3a 0a | 0a 4d 75 6c 74 69 70 6c |n Java:.|.Multipl|
|00000630| 65 20 69 6e 68 65 72 69 | 74 61 6e 63 65 20 2d 20 |e inheri|tance - |
|00000640| 61 6e 64 20 61 6c 6c 20 | 74 68 65 20 70 72 6f 62 |and all |the prob|
|00000650| 6c 65 6d 73 20 69 74 20 | 67 65 6e 65 72 61 74 65 |lems it |generate|
|00000660| 73 20 2d 20 68 61 73 20 | 62 65 65 6e 20 0a 64 69 |s - has |been .di|
|00000670| 73 63 61 72 64 65 64 20 | 66 72 6f 6d 20 4a 61 76 |scarded |from Jav|
|00000680| 61 2e 20 54 68 65 20 64 | 65 73 69 72 61 62 6c 65 |a. The d|esirable|
|00000690| 20 66 65 61 74 75 72 65 | 73 20 6f 66 20 6d 75 6c | feature|s of mul|
|000006a0| 74 69 70 6c 65 20 69 6e | 68 65 72 69 74 61 6e 63 |tiple in|heritanc|
|000006b0| 65 20 61 72 65 20 0a 70 | 72 6f 76 69 64 65 64 20 |e are .p|rovided |
|000006c0| 62 79 20 69 6e 74 65 72 | 66 61 63 65 73 20 2d 20 |by inter|faces - |
|000006d0| 63 6f 6e 63 65 70 74 75 | 61 6c 6c 79 20 73 69 6d |conceptu|ally sim|
|000006e0| 69 6c 61 72 20 74 6f 20 | 4f 62 6a 65 63 74 69 76 |ilar to |Objectiv|
|000006f0| 65 20 43 20 70 72 6f 74 | 6f 63 6f 6c 73 2e 0a 0a |e C prot|ocols...|
|00000700| 3e 20 46 75 6e 63 74 69 | 6f 6e 73 20 61 73 20 66 |> Functi|ons as f|
|00000710| 69 72 73 74 20 63 6c 61 | 73 73 20 6f 62 6a 65 63 |irst cla|ss objec|
|00000720| 74 73 3f 0a 0a 55 6d 6d | 6d 2e 2e 2e 77 68 61 74 |ts?..Umm|m...what|
|00000730| 20 61 72 65 20 66 75 6e | 63 74 69 6f 6e 73 3f 20 | are fun|ctions? |
|00000740| 49 27 76 65 20 6e 65 76 | 65 72 20 68 65 61 72 64 |I've nev|er heard|
|00000750| 20 6f 66 20 61 20 6a 61 | 76 61 20 66 75 6e 63 74 | of a ja|va funct|
|00000760| 69 6f 6e 2c 20 20 6f 6e | 6c 79 20 61 20 43 20 0a |ion, on|ly a C .|
|00000770| 66 75 6e 63 74 69 6f 6e | 2e 0a 0a 41 6e 6f 74 68 |function|...Anoth|
|00000780| 65 72 20 71 75 6f 74 65 | 20 66 72 6f 6d 20 74 68 |er quote| from th|
|00000790| 65 20 70 61 70 65 72 3a | 0a 0a 4a 61 76 61 20 68 |e paper:|..Java h|
|000007a0| 61 73 20 6e 6f 20 66 75 | 6e 63 74 69 6f 6e 73 2e |as no fu|nctions.|
|000007b0| 20 4f 62 6a 65 63 74 20 | 6f 72 69 65 6e 74 65 64 | Object |oriented|
|000007c0| 20 73 75 70 65 73 65 64 | 65 73 20 66 75 6e 63 74 | supesed|es funct|
|000007d0| 69 6f 6e 61 6c 20 61 6e | 64 20 70 72 6f 63 65 64 |ional an|d proced|
|000007e0| 75 72 61 6c 20 0a 73 74 | 79 6c 65 73 2e 20 20 4d |ural .st|yles. M|
|000007f0| 69 78 69 6e 67 20 74 68 | 65 20 74 77 6f 20 6a 75 |ixing th|e two ju|
|00000800| 73 74 20 6c 65 61 64 73 | 20 74 6f 20 63 6f 6e 66 |st leads| to conf|
|00000810| 75 73 69 6f 6e 20 61 6e | 64 20 64 69 6c 75 74 65 |usion an|d dilute|
|00000820| 73 20 74 68 65 20 70 75 | 72 69 74 79 20 6f 66 20 |s the pu|rity of |
|00000830| 0a 61 6e 20 6f 62 6a 65 | 63 74 20 6f 72 69 65 6e |.an obje|ct orien|
|00000840| 74 65 64 20 6c 61 6e 67 | 75 61 67 65 2e 0a 20 0a |ted lang|uage.. .|
|00000850| 0a 49 66 20 79 6f 75 20 | 77 61 6e 74 20 61 6c 6c |.If you |want all|
|00000860| 20 74 68 61 74 20 73 74 | 75 66 66 2c 20 75 73 65 | that st|uff, use|
|00000870| 20 43 2b 2b 2e 20 49 20 | 6c 69 6b 65 20 70 72 6f | C++. I |like pro|
|00000880| 67 72 61 6d 6d 69 6e 67 | 20 69 6e 20 41 4e 53 49 |gramming| in ANSI|
|00000890| 20 43 2e 20 49 20 0a 61 | 6c 73 6f 20 6c 69 6b 65 | C. I .a|lso like|
|000008a0| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 69 6e 20 | program|ming in |
|000008b0| 43 2b 2b 2e 20 20 49 20 | 72 65 61 6c 6c 79 20 6c |C++. I |really l|
|000008c0| 69 6b 65 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |ike prog|ramming |
|000008d0| 69 6e 20 4a 61 76 61 2e | 20 20 54 68 65 79 20 0a |in Java.| They .|
|000008e0| 61 72 65 20 61 6c 6c 20 | 6a 75 73 74 20 61 20 62 |are all |just a b|
|000008f0| 69 74 20 64 69 66 66 65 | 72 65 6e 74 2e 20 49 20 |it diffe|rent. I |
|00000900| 63 61 6e 27 74 20 62 6c | 61 6d 65 20 79 6f 75 20 |can't bl|ame you |
|00000910| 66 6f 72 20 62 65 69 6e | 67 20 73 63 61 72 65 64 |for bein|g scared|
|00000920| 20 6f 66 20 61 20 6e 65 | 77 20 0a 77 61 79 20 6f | of a ne|w .way o|
|00000930| 66 20 74 68 69 6e 6b 69 | 6e 67 2e 20 20 48 69 73 |f thinki|ng. His|
|00000940| 74 6f 72 69 63 61 6c 6c | 79 2c 20 74 68 69 73 20 |toricall|y, this |
|00000950| 69 73 20 77 68 61 74 20 | 68 61 70 70 65 6e 73 20 |is what |happens |
|00000960| 77 68 65 6e 20 6e 65 77 | 20 69 64 65 61 73 20 61 |when new| ideas a|
|00000970| 72 65 20 0a 70 72 65 73 | 65 6e 74 65 64 2e 20 20 |re .pres|ented. |
|00000980| 0a 0a 41 6e 79 62 6f 64 | 79 20 66 6f 72 20 74 68 |..Anybod|y for th|
|00000990| 65 20 63 72 65 61 74 69 | 6f 6e 20 6f 66 20 61 6c |e creati|on of al|
|000009a0| 74 2e 63 69 76 69 6c 2e | 77 61 72 2e 43 2b 2b 2e |t.civil.|war.C++.|
|000009b0| 76 73 2e 4a 61 76 61 20 | 3f 0a 0a 72 65 67 61 72 |vs.Java |?..regar|
|000009c0| 64 73 2c 0a 0a 20 20 2d | 2d 70 65 74 65 0a 0a 50 |ds,.. -|-pete..P|
|000009d0| 65 74 65 72 20 4a 61 63 | 6b 73 6f 6e 2c 20 43 4e |eter Jac|kson, CN|
|000009e0| 41 20 20 20 20 20 09 20 | 2a 20 4c 69 66 65 27 73 |A . |* Life's|
|000009f0| 20 61 20 42 45 54 41 2c | 0a 68 74 74 70 3a 2f 2f | a BETA,|.http://|
|00000a00| 75 6d 62 63 2e 65 64 75 | 2f 7e 70 6a 61 63 6b 73 |umbc.edu|/~pjacks|
|00000a10| 31 20 2a 20 0a 70 6a 61 | 63 6b 73 31 40 67 6c 2e |1 * .pja|cks1@gl.|
|00000a20| 75 6d 62 63 2e 65 64 75 | 20 20 09 20 2a 20 20 20 |umbc.edu| . * |
|00000a30| 20 20 74 68 65 6e 20 79 | 6f 75 20 63 72 61 73 68 | then y|ou crash|
|00000a40| 2e 2e 2e 2e 0a 70 6a 61 | 63 6b 73 6f 6e 40 6e 65 |.....pja|ckson@ne|
|00000a50| 77 6d 65 64 69 75 6d 2e | 63 6f 6d 20 20 20 2a 20 |wmedium.|com * |
|00000a60| 20 0a 0a 0a | | ... | |
+--------+-------------------------+-------------------------+--------+--------+